﻿
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cspl.Project.Library;

namespace Cspl.Project.Console
{
    using System;

    public class ClassC : ClassWithinLibrary
    {
        public void ChildMethod()
        {
            Console.WriteLine("Child Public Method");
        }

        public void ExecuteDelegate(MyDelegate SomeFunction)
        {
            int result = SomeFunction(2, 3, 9);
            System.Console.WriteLine("Called by delegate: {0}", result);
        }

        public int AddNumbers(int a, int b, int c)
        {
            return a + b + c;
        }

    }
}
